﻿using AutoMapper;
using farming.Admins.Dto;
using farming.Admins;

namespace farming;

public class farmingApplicationAutoMapperProfile : Profile
{
    public farmingApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */
        CreateMap<LoginDto, Admin>();
        CreateMap<CreateUpdateAdminDto, Admin>();
        CreateMap<Admin, AdminDto>();
    }
}
